package com.dgut.edu.cn.design.mode.strategy.control;


import com.dgut.edu.cn.design.mode.strategy.StrategyAnnotation;
import com.dgut.edu.cn.design.mode.strategy.StrategyType;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: hongbin.zheng
 * @create: 2023-07-17 16:53
 **/
@Service
@StrategyAnnotation(strategyType = StrategyType.priceControl, dataType = "secondPriceControl")
public class SecondPriceControlStrategy implements PriceControlStrategy {
	@Override
	public String doPriceControl() {
		System.out.println("---------do second price control start ---------------");
		System.out.println("---------do second price control end ---------------");
		return "do second price control start";
	}
}
